home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / INFO / USEFUL26.ZIP / USEHYP4.ZIP / FTP < prev    next >
Text File  |  1993-04-29  |  4KB  |  100 lines

  1.  
  2. ftp = file transfer protocol ...
  3.  
  4. Anonymous ftp ? ... a way of allowing you to sign on a computer on the
  5. Internet and copy specific public files (softwares and various kind of
  6. info) from it.
  7.  
  8. The following is a _typical_ ftp session (on a Unix machine) ...
  9. Suppose you want to get unz50p1.exe and gsz1109.zip from oak.oakland.edu ...
  10.  
  11. $  ftp  <enter>
  12. ftp> open oak.oakland.edu  <enter>    or   open 141.210.10.117  <enter>
  13.  
  14. Connected to oak.oakland.edu.
  15. 220 rigel.acs.oakland.edu FTP server (Version 2.0WU(11) Thu Apr 8 17:58:21 EDT 1
  16. 993) ready.
  17. Name (oak.oakland.edu: your_login_name):  anonymous  <enter>
  18.  
  19. 331 Guest login ok, send e-mail address as password.
  20. Password: your e-mail address  <enter>
  21.  
  22. 230-
  23. 230-                        Welcome to
  24. 230-               THE OAK SOFTWARE REPOSITORY
  25. 230-      A service of Oakland University, Rochester Michigan
  26. 230-
  27. 230-  Welcome, archive user!  This is an experimental FTP server.  If 
  28. 230-  you have any unusual problems, please report them via e-mail to 
  29. 230-  admin@vela.acs.oakland.edu.  If you do have problems, please 
  30. 230-  try using a dash (-) as the first character of your password -- 
  31. 230-  this will turn off the continuation messages that may be confusing 
  32. 230-  your ftp client.  OAK is a Unix machine.  Filenames are case sensitive.
  33. 230-
  34. 230-Please read the file README
  35. 230-  it was last modified on Sun Aug 30 04:35:34 1992 - 41 days ago
  36. 230 Guest login ok, access restrictions apply.
  37. Remote system type is UNIX.
  38. Using binary mode to transfer files.
  39.  
  40. ftp> cd pub/msdos/zip  <enter>
  41. 250 CWD command successful.
  42. ftp> ls
  43. 200 PORT command successful
  44.  ... You should see a list of files in this subdirectory ...
  45. ftp> get unz50p1.exe  <enter>
  46. local: unz50p1.exe remote: unz50p1.exe
  47. 200 PORT command successful.
  48. 150 Opening BINARY mode data connection for unz50p1.exe (40,062 bytes).
  49. 226 Transfer complete.
  50. 140116 bytes received in 2.56 seconds (15.64 Kbytes/s)
  51.  
  52. ftp> cd  <enter>                        (or cd ..  <enter>
  53. (remote directory) ../zmodem  <enter>       cd zmodem  <enter> )
  54. 250 CWD command successful.
  55. ftp> get gsz1109.zip  <enter>
  56. local: gsz1109.zip remote: gsz1109.zip
  57. 200 PORT command successful.
  58. 150 Opening BINARY mode data connection for gsz1109.zip (112752 bytes).
  59. 226 Transfer complete.
  60. 112752 bytes received in 10.23 seconds (10.76 Kbytes/s)
  61.  
  62. ftp> bye  <enter>
  63. 221 Goodbye
  64.  
  65. --
  66. Command summary:
  67. ftp     -   start a ftp session
  68. open    -   connect to the named site
  69. close   -   end the ftp session with a partiular site
  70. bye     -   close all connection and exit ftp
  71. ascii   -   transfer text (ascii) files
  72. binary  -   transfer binary files
  73. tenex   -   transfer binary files (for wsmr-simtel20.army.mil only)
  74. cd      -   change directory of remote site
  75. lcd     -   change directory of your site
  76. get     -   get a file from the remote directory
  77. put     -   move a file to the remote directory (if allowed)
  78. mget    -   get mutiple files from the remote directory (mget *.*)
  79. mput    -   move multiple files to the remote directory
  80. del     -   delete a file in the remote directory (if allowed)
  81. mdel    -   delete multiple files in the remote directory
  82. ls      -   list files in the remote directory  (or dir)
  83. help    -   print help information
  84. hash    -   print a pound sign (#) every time a block of data is transferred
  85. bell    -   sound a bell after each file transfer
  86. !cmd    -   execute a local command (e.g. !ls)
  87.  
  88. Alternative ways to do anonymous ftp ...
  89. 1) I've got UNIX shell scripts that can enable you auto-ftp MSDOS files
  90.    from any SIMTEL20 and Garbo mirror sites. If you want to get them, send me
  91.    an e-mail.
  92.  
  93. 2) There are a couple of versatile programs that automate the ftp process ...
  94.    a) autoftp   -  oak: /pub/misc/unix/autoftp30.tar-z
  95.                 -  garbo: /unix/ftp/autoftp3.zoo
  96.    b) batchftp  -  oak: /pub/misc/unix/batchftp102.tar-z
  97.                 -  garbo: /unix/ftp/batchftp102.tar.Z  (also batchftp.inf)
  98.                 batchftp requires the Berkeley Unix system (e.g. a SUN) ...
  99.  
  100.